import dayjs from 'dayjs/esm/index.js'
import toObject from 'dayjs/plugin/toObject'
import weekday from 'dayjs/plugin/weekday'
dayjs.extend(weekday)
dayjs.extend(toObject) // use plugin
export default dayjs
export const chineseDate = {
    weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
    weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
    weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
    months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
}